﻿/* ----------------------------------------------------------------------
 * File Name: SYS_MenuModel.cs
 * Author: 周艳
 * DateTime: 2019/1/17
 * Description: 菜单信息表
 *----------------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DBModel
{
    ///<summary>
    ///SYS_MENU
    ///</summary>
    [Serializable()]
    [DataContract(Name = "SYS_MenuModel")]
    public partial class SYS_MenuModel
    {
        ///<summary>
        ///菜单ID
        ///</summary>
        [DataMember(Name = "MenuID")]
        public string MenuID { get; set; }
        ///<summary>
        ///菜单名称
        ///</summary>
        [DataMember(Name = "MenuName")]
        public string MenuName { get; set; }
        ///<summary>
        ///上级菜单ID
        ///</summary>
        [DataMember(Name = "ParentID")]
        public string ParentID { get; set; }
        ///<summary>
        ///上级菜单Name
        ///</summary>
        [DataMember(Name = "ParentName")]
        public string ParentName { get; set; }
        ///<summary>
        ///菜单项页面地址
        ///</summary>
        [DataMember(Name = "MenuUrl")]
        public string MenuUrl { get; set; }
        ///<summary>
        ///菜单级别
        ///</summary>
        [DataMember(Name = "MenuGride")]
        public string MenuGride { get; set; }
        ///<summary>
        ///菜单排序
        ///</summary>
        [DataMember(Name = "Sequence")]
        public string Sequence { get; set; }
        ///<summary>
        ///菜单图标地址
        ///</summary>
        [DataMember(Name = "IconSrc")]
        public string IconSrc { get; set; }
        ///<summary>
        ///菜单所拥有的功能按钮ID组
        ///</summary>
        [DataMember(Name = "ButtonIDs")]
        public string ButtonIDs { get; set; }
        ///<summary>
        ///菜单所拥有的功能按钮名称组
        ///</summary>
        [DataMember(Name = "ButtonNames")]
        public string ButtonNames { get; set; }
        ///<summary>
        ///
        ///</summary>
        [DataMember(Name = "bak")]
        public string bak { get; set; }
    }


    public partial class SYS_MenuModel
    {

        ///<summary>
        /// 序号
        ///</summary>
        [DataMember(Name = "ID")]
        public int ID { get; set; }

        ///<summary>
        /// 等级
        ///</summary>
        [DataMember(Name = "Level")]
        public int Level  { get; set; }

        ///<summary>
        /// 叶级节点
        ///</summary>
        [DataMember(Name = "isLeaf")]
        public bool isLeaf { get; set; }

        ///<summary>
        ///菜单级别名称
        ///</summary>
        [DataMember(Name = "GrideName")]
        public string GrideName { get; set; }

      
    }
}
